Optimal. Leaf size=85 \[ \frac {\tan ^{-1}\left (\frac {\sqrt {\frac {3}{2}} x}{\sqrt [4]{a} \sqrt [4]{-a+3 x^2}}\right )}{3 \sqrt {6} \sqrt [4]{a}}-\frac {\tanh ^{-1}\left (\frac {\sqrt {\frac {3}{2}} x}{\sqrt [4]{a} \sqrt [4]{-a+3 x^2}}\right )}{3 \sqrt {6} \sqrt [4]{a}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 85, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.036, Rules used = {453}
\begin {gather*} \frac {\text {ArcTan}\left (\frac {\sqrt {\frac {3}{2}} x}{\sqrt [4]{a} \sqrt [4]{3 x^2-a}}\right )}{3 \sqrt {6} \sqrt [4]{a}}-\frac {\tanh ^{-1}\left (\frac {\sqrt {\frac {3}{2}} x}{\sqrt [4]{a} \sqrt [4]{3 x^2-a}}\right )}{3 \sqrt {6} \sqrt [4]{a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 453
Rubi steps
\begin {align*} \int \frac {x^2}{\left (-2 a+3 x^2\right ) \left (-a+3 x^2\right )^{3/4}} \, dx &=\frac {\tan ^{-1}\left (\frac {\sqrt {\frac {3}{2}} x}{\sqrt [4]{a} \sqrt [4]{-a+3 x^2}}\right )}{3 \sqrt {6} \sqrt [4]{a}}-\frac {\tanh ^{-1}\left (\frac {\sqrt {\frac {3}{2}} x}{\sqrt [4]{a} \sqrt [4]{-a+3 x^2}}\right )}{3 \sqrt {6} \sqrt [4]{a}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.98, size = 75, normalized size = 0.88 \begin {gather*} \frac {\tan ^{-1}\left (\frac {\sqrt {\frac {3}{2}} x}{\sqrt [4]{a} \sqrt [4]{-a+3 x^2}}\right )-\tanh ^{-1}\left (\frac {\sqrt {\frac {2}{3}} \sqrt [4]{a} \sqrt [4]{-a+3 x^2}}{x}\right )}{3 \sqrt {6} \sqrt [4]{a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {x^{2}}{\left (3 x^{2}-2 a \right ) \left (3 x^{2}-a \right )^{\frac {3}{4}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 145 vs.
\(2 (59) = 118\).
time = 0.59, size = 145, normalized size = 1.71 \begin {gather*} \frac {2 \, \left (\frac {1}{36}\right )^{\frac {1}{4}} \arctan \left (\frac {12 \, {\left (\sqrt {\frac {1}{2}} \left (\frac {1}{36}\right )^{\frac {3}{4}} a^{\frac {1}{4}} x \sqrt {\frac {\frac {3 \, x^{2}}{\sqrt {a}} + 2 \, \sqrt {3 \, x^{2} - a}}{x^{2}}} - \left (\frac {1}{36}\right )^{\frac {3}{4}} {\left (3 \, x^{2} - a\right )}^{\frac {1}{4}} a^{\frac {1}{4}}\right )}}{x}\right )}{3 \, a^{\frac {1}{4}}} - \frac {\left (\frac {1}{36}\right )^{\frac {1}{4}} \log \left (\frac {\frac {3 \, \left (\frac {1}{36}\right )^{\frac {1}{4}} x}{a^{\frac {1}{4}}} + {\left (3 \, x^{2} - a\right )}^{\frac {1}{4}}}{x}\right )}{6 \, a^{\frac {1}{4}}} + \frac {\left (\frac {1}{36}\right )^{\frac {1}{4}} \log \left (-\frac {\frac {3 \, \left (\frac {1}{36}\right )^{\frac {1}{4}} x}{a^{\frac {1}{4}}} - {\left (3 \, x^{2} - a\right )}^{\frac {1}{4}}}{x}\right )}{6 \, a^{\frac {1}{4}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\left (- 2 a + 3 x^{2}\right ) \left (- a + 3 x^{2}\right )^{\frac {3}{4}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} -\int \frac {x^2}{\left (2\,a-3\,x^2\right )\,{\left (3\,x^2-a\right )}^{3/4}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________